feat(sat): print web GUI URL at top of sat scan output#42
Merged
Conversation
Add sat.web_ui_url() returning the SDR container's web GUI root and echo it at the start of sat scan / mock-scan output (suppressed for JSON output).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Prints the SDR container's web GUI URL at the top of
sat scan/sat mock-scanoutput, so users know where to go to view the UI.Changes
sat.py: addweb_ui_url()helper returning the SDR container's web GUI root (http://localhost:8050/, using the configurableAPI_PORT), alongside the existing_packets_url().cli.py: in the shared_run_sat_scan, echo[INFO] Web GUI: <url>just above the "Starting receiver…" line.Example output:
Notes
-o jsonoutput (alongside the other[INFO]lines), keeping JSON clean.Testing
ruff checkpasses.sat.web_ui_url()resolves tohttp://localhost:8050/.sat scannot exercised (requires Docker + PlutoSDR hardware).